package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 驾驶员与车辆的绑定关系（农机演示环境需要，勿删）对象 t_driver_vehicle
 * 
 * @author wp
 * @date 2023-08-10
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@TableName(value = "t_driver_vehicle", excludeProperty = {"createBy","updateTime","updateBy","remark"})
public class DriverVehicle extends BaseEntity {

    /** id */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 驾驶员id */
    @ApiModelProperty("驾驶员id")
    private Long driverId;

    /** 车辆id */
    @ApiModelProperty("车辆id")
    private Long vehicleId;
}
